﻿using System;
using System.Collections.ObjectModel;

namespace Murry.DataStore
{
    /// <summary>
    /// A scheme collects related model data types.
    /// </summary>
    public class DataScheme
    {
        /// <summary>
        /// Name of the scheme.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// DataStore for the scheme.
        /// </summary>
        public IReadOnlyDataStore DataStore { get; set; }

        //private readonly Collection<Type> _types = new Collection<Type>();

        /// <summary>
        /// Supported Scheme types.
        /// </summary>
        public Collection<Type> Types { get; set; }
    }
}
